package com.junlaninfo;

import java.util.HashMap;

/**
 * Created by 辉 on 2020/12/10.
 */
public class Test4 {
    public static void main(String[] args) {
        HashMap<String, String> map = new HashMap<String, String>();
        map.put("name","xuexionghui");
        System.out.println("xuexionghui".hashCode());
        System.out.println(392698789>>>16);
        System.out.println(10>>2);
    }
    static final int hash(Object key) {
        int h;
        return (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16);
    }
}
